//
//  Combox.h
//  evidenceGather
//
//  Created by 王继伟 on 13-8-26.
//  Copyright (c) 2013年 无. All rights reserved.
//

#import <UIKit/UIKit.h> 
#import "ComboxDelegate.h"
@class DefButton;

@interface Combox : UIView<UITableViewDelegate,UITableViewDataSource> {
    UITableView *tv;//下拉列表
    NSArray *tableArray;//下拉列表数据
    NSMutableDictionary *keyValue;
    DefButton *textField;//文本输入框
    BOOL showList;//是否弹出下拉列表
    CGFloat tabheight;//table下拉列表的高度
    CGFloat frameHeight;//frame的高度
    int selectIndex;//选中行索引
    id <ComboxDelegate> delegate;
}

 
@property (nonatomic,retain) UITableView *tv;
@property (nonatomic,retain) NSArray *tableArray;
@property (nonatomic,retain) DefButton *textField;
@property (nonatomic,retain) NSMutableDictionary *keyValue;
@property  int  selectIndex;

@property (nonatomic, retain) id <ComboxDelegate> delegate;

@end


 